{extend name="../application/public/base.html" /}
{block name="head"}
	<link rel="stylesheet" href="ADMIN_CUSTOM/css/list.css">
    <link rel="stylesheet" href="ADMIN_CUSTOM/css/btn.css">
{/block}
{block name="body"}
    <body>
        <div class="x-nav">
          <span class="layui-breadcrumb">
            <a href="">首页</a>
            <a href="">演示</a>
            <a><cite>导航元素</cite></a>
          </span>
          <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right;" onclick="location.reload()" title="刷新"><i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
        </div>
        <div class="layui-fluid">
            <div class="layui-row layui-col-space15">
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-body">
                            <!-- 查询 start -->
                        	<div class="layui-card-body">
	                            <form class="layui-form layui-col-space20">
	                            	<div class="layui-input-inline layui-show-xs-block">
										<label>产品分类</label>
									 	<div class="layui-input-inline">
										  	<select name="category_id" class="layui-select" lay-filter="select">
		                                        <option value="">全部</option>
		                                        {volist name="cate" id="v"}
		                                        <option value="{$v.category_id}">{$v.category_name}</option>
		                                        {/volist}
		                                   	</select>
									  	</div>
							     	</div>
							     	<div class="layui-input-inline layui-show-xs-block">
										<label>产品子分类</label>
									 	<div class="layui-input-inline">
										  	<select name="cat_id" class="layui-select" lay-filter="select">
		                                        
		                                   	</select>
									  	</div>
							     	</div>
							     	<div class="layui-input-inline layui-show-xs-block">
										<label>产品品牌</label>
									 	<div class="layui-input-inline">
										  	<select name="brand_name" class="layui-select" lay-filter="select">
		                                        
		                                   	</select>
									  	</div>
							     	</div>
							     	<div class="layui-input-inline layui-show-xs-block" lay-filter="select">
										<label>产品内存</label>
									 	<div class="layui-input-inline">
										  	<select name="memory_name" class="layui-select" lay-filter="select">
		                                        
		                                   	</select>
									  	</div>
							     	</div>
							     	<div class="layui-input-inline layui-show-xs-block">
										<label>产品属性</label>
									 	<div class="layui-input-inline">
										  	<select name="attribute_name" class="layui-select" lay-filter="select">
		                                       
		                                   	</select>
									  	</div>
							     	</div>
							     	<div class="layui-input-inline layui-show-xs-block">
										<label>产品颜色</label>
									 	<div class="layui-input-inline">
										  	<select name="colour_name" class="layui-select" lay-filter="select">
		                                        
		                                   	</select>
									  	</div>
							     	</div>
							     	<div class="layui-input-inline layui-show-xs-block">
									 	<div class="layui-input-inline">
										  	<input type="text" id="start" placeholder="开始日" name="start" autocomplete="off" class="layui-input">
									  	</div>
									  	<div class="layui-input-inline">
										  	<input type="text" id="end" placeholder="结束日" name="end" autocomplete="off" class="layui-input">
									  	</div>
							     	</div>
							     	<div class="layui-input-inline layui-show-xs-block">
									 	<div class="layui-input-inline keyword-search">
										  	<input type="text" placeholder="请输入关键字进行搜索" name="keyword" autocomplete="off" class="layui-input">
									  	</div>
							     	</div>
	                                <div class="layui-input-inline layui-show-xs-block">
	                                    <div class="layui-btn" lay-submit="" lay-filter="search">
	                                        <i class="layui-icon">&#xe615;</i></div>
	                                </div>
	                            </form>
	                        </div>
	                        <!-- 查询 end -->

	                        <!-- 统计 start -->
	                        <div class="layui-card-body layui-col-space20" id="order-count">
	                        	
	                        </div>	
	                        <!-- 统计 end -->

	                        <!-- 表格 start -->
	                        <div class="layui-tab layui-tab-card" style="margin-top:15px;margin-bottom: 15px;">
							  	<div class="layui-tab-content">
									<table class="layui-table layui-form" id="table-list">
									  
									</table>
							  	</div>
							</div>
						  	<!-- 表格 start -->
                        </div>
                    </div>
                </div>
            </div>
        </div> 
    </body>
{/block}
{block name="script"}
	<script type="text/javascript" src="ADMIN_CUSTOM/js/staff/goods/index.js"></script>
 	<!-- 统计模版 -->
 	<script id="order_count" type="text/html">
		<div class="green-border-btn">销售总额：{{d.goods_money}}元</div>
		<div class="green-border-btn">销售总成本：{{d.cost_money}}元</div>
		<div class="green-border-btn">退款总额：{{d.refund_money}}元</div>
		<div class="green-border-btn">召回总额：{{d.recal_money}}元</div>
		<div class="green-border-btn">销售总盈利：{{d.profit_money}}元</div>
		<div class="green-border-btn">盈利总提成：{{d.profit_t_money}}元</div>
		<div class="green-border-btn">营业额总提成：{{d.turnover_t_money}}元</div>
 	</script>
{/block}